/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package connection;

import java.io.Serializable;

/**
 *
 * @author Tngoc
 */
public class Property implements Serializable{
    public String userName;
    public String password;
    public String host;
    public String database;

    public Property(String userName, String password, String host, String database) {
        this.userName = userName;
        this.password = password;
        this.host = host;
        this.database = database;
    }

    public Property() {
        userName = "sa";
        password = "adidaphat";
        host = "localhost:1433";
        database = "MarvellConsultancies_DB";
    }

    public String getDatabase() {
        return database;
    }

    public void setDatabase(String database) {
        this.database = database;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

}
